<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" href="../../static/plugin/layui/css/layui.css" th:href="@{static/plugin/layui/css/layui.css}">
    <script rel="stylesheet" src="../../static/plugin/layui/layui.js" th:src="@{static/plugin/layui/layui.js}"></script>
    <script rel="stylesheet" src="../../static/js/jquery.min.js" th:src="@{static/js/jquery.min.js}"></script>

</head>
<body style="background: rgb(224,255,251);">


<div class="layui-container" style="margin-top: 50px;border: palegreen solid 0.5px;">

    <div th:each="Student:${Student}">个人信息</div><hr>
    <label>学号：</label>
    <div th:text="${Student.stuID}"></div><hr>
    <label>姓名：</label>
    <div th:text="${Student.name}"></div><hr>
    <label>班级：</label>
    <div th:text="${Student.stuclass}"></div><hr>
    <label>邮箱：</label>
    <div th:text="${Student.useremail}"></div><a class="email" href="/update_mail">修改邮箱</a>

</div>

<!--<div class="form1" style="display: none;position:absolute;left: 50%;top: 38%;z-index: 1000;">-->
<!--    <form method="post" action="/update_email">-->
<!--        <label>输入新邮箱</label>-->
<!--        <input name="useremail" type="text">-->
<!--        <input class="tijiao" type="submit" value="提交">-->
<!--    </form>-->
<!--</div>-->
</body>

<!--<script>-->
<!--    jQuery(document).ready(function($){-->
<!--        $(".email").click(function open_window() {-->
<!--            var form1=document.getElementsByClassName("form1");-->
<!--            var tijiao=document.getElementsByClassName("tijiao")-->
<!--            form1.style.display="bolck";-->
<!--            tijiao.onclick=function () {-->
<!--                form1.style.display="none";-->
<!--            }-->

<!--        })-->
<!--    })-->
<!--</script>-->
</html>
